package com.efesco.service.compensation;

import com.bstek.dorado.data.*;
import com.bstek.dorado.data.db.SqlDataset;
import com.bstek.dorado.common.*;
import com.efesco.common.CommUtil;
import com.efesco.system.User;

/**
 * M_apply_form_sqldataset_auditing_listListener
 */
public class M_apply_form_sqldataset_auditing_listListener extends AbstractDatasetListener {
  public void onInit(Dataset dataset)
     throws Exception {

  }

  public boolean beforeLoadData(Dataset dataset)
     throws Exception {
	  SqlDataset ds=(SqlDataset)dataset;
	  ds.setSql(new SQLClass().M_apply_form_sql_dataset_auditing(ds));
    return true;
  }

  public void afterLoadData(Dataset dataset)
     throws Exception {

  }

  public boolean beforeUpdateData(Dataset dataset)
     throws Exception {

    return true;
  }

  public void afterUpdateData(Dataset dataset)
     throws Exception {

  }

}
